testcases = [
    ("option: value", "option", "value"),
    ("option : value", "option", "value"),
    ("option :value", "option", "value"),
    ("option= value", "option", "value"),
    ("option = value", "option", "value"),
    ("option =value", "option", "value"),
    ("option: value\n", "option", "value"),
    ("option: value # inline comment", "option", "value"),
    ("option: value # inline comment\n", "option", "value"),
    (
        "description: Helper: park toolhead used in PAUSE and CANCEL_PRINT",
        "description",
        "Helper: park toolhead used in PAUSE and CANCEL_PRINT",
    ),
    ("description: homing!", "description", "homing!"),
    ("description: inline macro :-)", "description", "inline macro :-)"),
    ("path: %GCODES_DIR%", "path", "%GCODES_DIR%"),
    (
        "serial = /dev/serial/by-id/<your-mcu-id>",
        "serial",
        "/dev/serial/by-id/<your-mcu-id>",
    ),
    ("parameter_temperature_(°C): 155", "parameter_temperature_(°C)", "155"),
    ("parameter_humidity_(%_RH): 45", "parameter_humidity_(%_RH)", "45"),
    ("parameter_spool_weight_(%): 10", "parameter_spool_weight_(%)", "10"),
    ("path: /dev/shm/drying_box.json", "path", "/dev/shm/drying_box.json"),
]
